package com.wanmait.wisdom.manage.controller;

import com.wanmait.wisdom.manage.service.ManagePaymentService;
import com.wanmait.wisdom.util.AjaxResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("manage")
public class ManagePaymentController {

    @Resource
    private ManagePaymentService managePaymentService;

    @GetMapping("findAllPayment")
    public AjaxResult findAllPayment(){
        return AjaxResult.success(managePaymentService.findAllPayment());
    }


}
